/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package certificate.entity;

/**
 *
 * @author minhtuan
 */
public class Subject {

    private String idSubject;
    private String name;
    private String timeAlong;
    private int semester;
    

    /**
     * @return the idSubject
     */
    public String getIdSubject() {
        return idSubject;
    }

    /**
     * @param idSubject the idSubject to set
     */
    public void setIdSubject(String idSubject) {
        this.idSubject = idSubject;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the timeAlong
     */
    public String getTimeAlong() {
        return timeAlong;
    }

    /**
     * @param timeAlong the timeAlong to set
     */
    public void setTimeAlong(String timeAlong) {
        this.timeAlong = timeAlong;
    }

    /**
     * @return the semester
     */
    public int getSemester() {
        return semester;
    }

    /**
     * @param semester the semester to set
     */
    public void setSemester(int semester) {
        this.semester = semester;
    }

    @Override
    public String toString() {
        return "Subject{" + "idSubject=" + idSubject + ", name=" + name + ", timeAlong=" + timeAlong + ", semester=" + semester + '}';
    }
    
    
}
